﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Stock History.aspx.cs" Inherits="Stock_History" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">

    .style2
    {
        width: auto;
        text-align: center;
        height: auto;
    }
    .style4
    {
        width: auto;
        text-align: center;
        height: auto;
    }
    .style6
    {
        width: 453px;
    }
    .style7
    {
        width: auto;
        height: auto;
    }
    .style8
    {
        height: auto;
        text-align: center;
    }
    #Button3
    {
        text-align: center;
    }
    .style131
    {
        height: auto;
    }
    .style127
    {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            text-align: center;
        }
    .style78
    {
        color: #000000;
    }
    .style128
    {
            font-family: "Times New Roman", Times, serif;
            width: auto;
            background: #FFFFFF;
            text-align: center;
        }
            
    RadioButtonList1
    {
        color: #000000;
    }
        .style132
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 81px;
            text-align: center;
        }
        .style134
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 118px;
            text-align: center;
        }
        .style140
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 81px;
            text-align: center;
            height: 22px;
        }
        .style141
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            text-align: center;
            height: 22px;
        }
        .style142
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 118px;
            text-align: center;
            height: 22px;
        }
        .style143
        {
            font-family: "Times New Roman", Times, serif;
            width: auto;
            background: #FFFFFF;
            text-align: center;
            height: 22px;
        }
        .style144
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 81px;
            text-align: center;
            height: 20px;
        }
        .style145
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            text-align: center;
            height: 20px;
        }
        .style146
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 118px;
            text-align: center;
            height: 20px;
        }
        .style147
        {
            font-family: "Times New Roman", Times, serif;
            width: auto;
            background: #FFFFFF;
            text-align: center;
            height: 20px;
        }
        .style148
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 81px;
            text-align: center;
            height: 19px;
        }
        .style149
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            text-align: center;
            height: 19px;
        }
        .style150
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 118px;
            text-align: center;
            height: 19px;
        }
        .style151
        {
            font-family: "Times New Roman", Times, serif;
            width: auto;
            background: #FFFFFF;
            text-align: center;
            height: 19px;
        }
        .style152
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 81px;
            text-align: center;
            height: 21px;
        }
        .style153
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            text-align: center;
            height: 21px;
        }
        .style154
        {
            font-family: "Times New Roman", Times, serif;
            background: #FFFFFF;
            width: 118px;
            text-align: center;
            height: 21px;
        }
        .style155
        {
            font-family: "Times New Roman", Times, serif;
            width: auto;
            background: #FFFFFF;
            text-align: center;
            height: 21px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<div id="body">
    <div id="selectDate" style="height: 57px">
        <table style="width: 100%; height: 42px;">
            <tr>
                <td class="style2" style="border: thin solid #000000">
                    <asp:Label ID="Label1" runat="server" Text="Start Date: "></asp:Label>
                    <select 
                        id="selstart" name="a" style="line-height: 1.22em; width: 56px;">
                        <option selected="" style="line-height: 1.22em; " value="00">Jan</option>
                        <option style="line-height: 1.22em; " value="01">Feb</option>
                        <option style="line-height: 1.22em; " value="02">Mar</option>
                        <option style="line-height: 1.22em; " value="03">Apr</option>
                        <option style="line-height: 1.22em; " value="04">May</option>
                        <option style="line-height: 1.22em; " value="05">Jun</option>
                        <option style="line-height: 1.22em; " value="06">Jul</option>
                        <option style="line-height: 1.22em; " value="07">Aug</option>
                        <option style="line-height: 1.22em; " value="08">Sep</option>
                        <option style="line-height: 1.22em; " value="09">Oct</option>
                        <option style="line-height: 1.22em; " value="10">Nov</option>
                        <option style="line-height: 1.22em; " value="11">Dec</option>
                    </select><input 
                        id="startday" maxlength="2" name="b" size="2" style="line-height: 1.22em; width: 32px;" 
                        type="text" value="4" /><input 
                        id="startyear" maxlength="4" name="c" size="4" style="line-height: 1.22em; width: 44px;" 
                        type="text" value="1984" /></td>
                <td class="style4" style="border: thin solid #000000">
&nbsp;<asp:Label ID="Label2" runat="server" Text="End Date: "></asp:Label>
                    <select id="selend" name="d" 
                        style="line-height: 1.22em; ">
                        <option style="line-height: 1.22em; " value="00">Jan</option>
                        <option style="line-height: 1.22em; " value="01">Feb</option>
                        <option style="line-height: 1.22em; " value="02">Mar</option>
                        <option style="line-height: 1.22em; " value="03">Apr</option>
                        <option style="line-height: 1.22em; " value="04">May</option>
                        <option style="line-height: 1.22em; " value="05">Jun</option>
                        <option style="line-height: 1.22em; " value="06">Jul</option>
                        <option style="line-height: 1.22em; " value="07">Aug</option>
                        <option selected="" style="line-height: 1.22em; " value="08">Sep</option>
                        <option style="line-height: 1.22em; " value="09">Oct</option>
                        <option style="line-height: 1.22em; " value="10">Nov</option>
                        <option style="line-height: 1.22em; " value="11">Dec</option>
                    </select><input 
                        id="endday" maxlength="2" name="e" size="2" 
                        style="line-height: 1.22em; width: 36px;" type="text" value="15" /><input 
                        id="endyear" maxlength="4" name="f" size="4" 
                        style="line-height: 1.22em; width: 42px;" type="text" value="2012" /></td>
            </tr>
        </table>
        <div id="listGraphText" style="height: 155px">
            <table style="width: 100%; height: 40px;">
                <tr style="border: thin solid #000000;">
                    <td class="style6" style="border: thin solid #000000">
                        List of Stock</td>
                    <td style="border: thin solid #000000">
                        <asp:RadioButton ID="RadioButton1" runat="server" Checked="True" 
                            Text="Text Based" />
                        <asp:RadioButton ID="RadioButton2" runat="server" Text="Graph" />
                    </td>
                </tr>
            </table>
            <div style="height: 40px">
                <table style="width: 100%; height: 39px;">
                    <tr>
                        <td class="style7" style="border: thin solid #000000">
                            <asp:DropDownList ID="DropDownList1" runat="server" Height="28px" 
                                style="text-align: center" Width="453px">
                                <asp:ListItem>APPL - Apple Inc.</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="style8" style="border: thin solid #000000">
                            <input id="Button3" type="button" value="Submit" 
                                onclick="return Button2_onclick()" /></td>
                    </tr>
                </table>
                <div>
                    <table style="width:100%;">
                        <tr>
                            <td style="border: thin solid #000000;" class="style131">
                                Historical Data</td>
                        </tr>
                        <tr>
                            <td style="border: thin solid #000000;">
                                APPL</td>
                        </tr>
                    </table>
                    <div>
                        <table style="width: 99%; height: 677px;" id="textData">
                            <tr>
                        <td class="style144" bgcolor="ActiveCaptionText">
                            <strong>Date</strong></td>
                        <td class="style145" bgcolor="ActiveCaptionText">
                            Open</td>
                        <td class="style145" bgcolor="ActiveCaptionText">
                            High</td>
                        <td class="style145" bgcolor="ActiveCaptionText">
                            Low</span></span></td>
                        <td class="style145" bgcolor="ActiveCaptionText">
                            Close</td>
                        <span class="style78">
                        <td class="style146">
                            Volume</td>
                        <td class="style147">
                            Adj Close*</td></span>
                            </tr>
                            <tr>
                        <td class="style148" 
                            bgcolor="ActiveCaptionText">
                            11/14/2011</td>
                        <td class="style149" bgcolor="ActiveCaptionText">
                            679.1</td>
                        <td class="style149" bgcolor="ActiveCaptionText">
                            680.62</td>
                        <td class="style149" bgcolor="ActiveCaptionText">
                            677.77</td>
                        <td class="style149" bgcolor="ActiveCaptionText">
                            677.98</td>
                        <td class="style150">
                            0</td>
                        <td class="style151">
                            677.98</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            11/11/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            669.45</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            671.21</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            667.53</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            669.61</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            669.61</td>
                            </tr>
                            <tr>
                        <td class="style140" bgcolor="ActiveCaptionText">
                            11/10/2011</td>
                        <td class="style141" bgcolor="ActiveCaptionText">
                            669.53</td>
                        <td class="style141" bgcolor="ActiveCaptionText">
                            669.53</td>
                        <td class="style141" bgcolor="ActiveCaptionText">
                            663.12</td>
                        <td class="style141" bgcolor="ActiveCaptionText">
                            668.39</td>
                        <td class="style142">
                            0</td>
                        <td class="style143">
                            668.39</td>
                            </tr>
                            <tr>
                        <td class="style152" bgcolor="ActiveCaptionText">
                            11/9/2011</td>
                        <td class="style153" bgcolor="ActiveCaptionText">
                            688.83</td>
                        <td class="style153" bgcolor="ActiveCaptionText">
                            689.31</td>
                        <td class="style153" bgcolor="ActiveCaptionText">
                            684.17</td>
                        <td class="style153" bgcolor="ActiveCaptionText">
                            684.88</td>
                        <td class="style154">
                            0</td>
                        <td class="style155">
                            684.88</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            11/8/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            682.65</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            687.75</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            681.28</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            686.05</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            686.05</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            11/4/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            681.07</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            686.56</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            681.07</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            682.65</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            682.65</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            11/3/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            673.21</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            675.03</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            668.01</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            674.08</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            674.08</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            11/2/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            662.98</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            680.52</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            661.91</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            680.52</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            680.52</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            11/1/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            679.84</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            681.99</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            669.5</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            670.05</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            670.05</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/31/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            696.99</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            696.99</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            685.54</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            685.54</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            685.54</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/28/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            692.27</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            697.44</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            689.11</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            697.44</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            697.44</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/27/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            667.28</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            686.88</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            665.15</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            684.5</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            684.5</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/25/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            665.27</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            668.34</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            662.46</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            665.93</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            665.93</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/24/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            660.83</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            667.6</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            660.83</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            664.05</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            664.05</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/21/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            650.5</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            654.01</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            649.93</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            653.37</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            653.37</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/20/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            654.43</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            654.78</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            647.2</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            648.89</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            648.89</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/19/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            658.21</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            660.17</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            653.66</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            655.09</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            655.09</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/18/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            660.02</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            660.31</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            651.81</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            655.1</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            655.1</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/17/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            666</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            670.27</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            659.9</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            668.53</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            668.53</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/14/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            654.52</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            660.85</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            654.07</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            660.56</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            660.56</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/13/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            657.04</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            662.46</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            655.58</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            657.06</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            657.06</td>
                            </tr>
                            <tr>
                        <td class="style132" height="20" bgcolor="ActiveCaptionText">
                            10/12/2011</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            643.12</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            656.65</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            640.95</td>
                        <td class="style127" bgcolor="ActiveCaptionText">
                            656.62</td>
                        <td class="style134">
                            0</td>
                        <td class="style128">
                            656.62</td>
                            </tr>
                            </table>
                        <div id="graphData">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</asp:Content>

